From: Dmitry Gutov Date: Tue, 15 Oct 2013 01:21:22 +0000 (+0300) Subject: * indent/ruby.rb: Fix an example, remove wrong example, and add two more. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~2855 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=1bd9995dc0e971d289f829316fe778391c43b943;p=emacs.git * indent/ruby.rb: Fix an example, remove wrong example, and add two more. --- diff --git a/test/indent/ruby.rb b/test/indent/ruby.rb index 912648378c3..ef89ebc1aa7 100644 --- a/test/indent/ruby.rb +++ b/test/indent/ruby.rb @@ -182,12 +182,9 @@ if foo && end method !arg1, - arg2 - -method [], arg2 -method {:a => 1, :b => 2}, +method [], arg2 method :foo, @@ -195,3 +192,11 @@ method :foo, method (a + b), c + +it "is a method call with block" do + foo +end + +it("is too!") { + bar +}